//
//  UploadImageManager.h
//  fashionbuyer
//
//  Created by ale tan on 2018/1/29.
//  Copyright © 2018年 ale tan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <TZImagePickerController/TZImagePickerController.h>

typedef void(^DidChooseImage)(NSArray *images);
typedef void(^DidUploadImage)(NSArray *imageUrls);

typedef enum : NSUInteger {
    ImagePickerTypeImage,
    ImagePickerTypeVideo,
} ImagePickerType;

@interface UploadImageManager : NSObject

@property (nonatomic ,assign) BOOL allowPickMutiple;

- (void)chooseImagesWithType:(ImagePickerType)type DidChooseImage:(DidChooseImage)didChooseImage;

- (void)uploadImages:(NSArray <UIImage *>*)images DidUploadImage:(DidUploadImage)didUploadImage;

@end
